import React, { useRef } from "react";
import { PlusOutlined } from "@ant-design/icons";
import { Card, Button, Typography } from "antd";
import AutoTable from "@/components/AutoTable/mtable";
import { useRequest } from "ahooks";
import { doFetch } from "@/utils/doFetch";


const Status = ({route}) => {

  let {data,loading} = useRequest(()=>{
    return doFetch({url:"/conveyor/queryStatus"})
  })

  return (
    <Card
      title={route.name}
    >
      {data?.data?.data?.status}
    </Card>
  );
};


export default Status;
